package br.com.strings;

public class TestIgualdade {
	public static void main(String[] args) {
		String s = "hello";
		StringBuilder sb = new StringBuilder(s);
		sb.reverse();
		
		if (s.equals(sb))
			System.out.println("b");
		if (sb.equals(s))
			System.out.println("c");
	}
}